package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 产康项目关联映射表
 * </p>
 *
 * @author 张子艺
 * @since 2018-08-29
 */
@TableName("relation_project")
public class RelationProject extends Model<RelationProject> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 房间id
     */
	@TableField("relation_id")
	private Long relationId;
    /**
     * 产康项目id
     */
	@TableField("project_id")
	private Long projectId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;


    /**
     * 是否退房
     */
	@TableField("is_state")
	private Integer isState;

	/**
	 * 区分内外部
	 * @return
	 */
	private Integer inside;
	/**
	 * 外部用 姓名
	 * @return
	 */
	@TableField("user_name")
	private String userName;
	/**
	 * 外部用 v产康项目名字
	 * @return
	 */
	private String project;
	/**
	 * 外部用 v产康项目价格
	 * @return
	 */
	private String pice;
	@TableField("areaid")
	private Long areaid;


	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getPice() {
		return pice;
	}

	public void setPice(String pice) {
		this.pice = pice;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getInside() {
		return inside;
	}

	public void setInside(Integer inside) {
		this.inside = inside;
	}

	public Integer getIsState() {
		return isState;
	}

	public void setIsState(Integer isState) {
		this.isState = isState;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRelationId() {
		return relationId;
	}

	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "RelationProject{" +
				"id=" + id +
				", relationId=" + relationId +
				", projectId=" + projectId +
				", createTime=" + createTime +
				", isState=" + isState +
				", inside=" + inside +
				'}';
	}
}
